package com.eusoft.demo.service.impl;

import com.eusoft.demo.entity.CarState;
import com.eusoft.demo.mapper.CarStateMapper;
import com.eusoft.demo.service.ICarStateService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 车辆状态 服务实现类
 * </p>
 *
 * @author DevMing
 * @since 2021-08-19
 */
@Service
public class CarStateServiceImpl extends ServiceImpl<CarStateMapper, CarState> implements ICarStateService {

    /**
     * @return 车辆状态列表
     */
    @Override
    public List<CarState> getCarStateList() {
        return baseMapper.<CarState>queryList();
    }
}
